using Avalonia;
using Avalonia.Headless;
using System.Reflection;

[assembly: AvaloniaTestApplication(typeof(AvaloniaUiKit.Tests.UI.TestProgram))]

namespace AvaloniaUiKit.Tests.UI
{
    public class TestProgram
    {
        public static void Main(string[] args)
        {
            BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
        }

        public static AppBuilder BuildAvaloniaApp()
        {
            return AppBuilder.Configure<TestApp>()
                .UseHeadless(new AvaloniaHeadlessPlatformOptions
                {
                    UseHeadlessDrawing = true
                });
        }
    }

    public class TestApp : Application
    {
        public override void Initialize()
        {
            base.Initialize();
        }
    }
} 